﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaymentOrderPrinting.aspx.cs" Inherits="School.Pages.Accounting.PaymentOrderPrinting" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>أمر الدفع</title>
<style type="text/css">
 body 
 {
     direction:rtl;
     font:bold 16px Arial;
 }
 
 table
 {
     /*width:100%;*/
 }
 
 td
 {
     padding:4px;
     vertical-align:top;
 }
</style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" Height="" InteractiveDeviceInfos="(Collection)" 
        WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="">
        <LocalReport ReportPath="Accounting\Reports\PaymentOrder.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="PaymentOrder" Name="PaymentOrder" />
                <rsweb:ReportDataSource DataSourceId="PaymentDiscount" 
                    Name="PaymentDiscounts" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>
    <asp:ObjectDataSource ID="PaymentDiscount" runat="server" 
        SelectMethod="GetDiscountsReport" TypeName="School.Accounting.Reporting">
        <SelectParameters>
            <asp:QueryStringParameter Name="number" QueryStringField="Number" 
                Type="Int64" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="PaymentOrder" runat="server" 
        SelectMethod="GetPaymentReport" TypeName="School.Accounting.Reporting">
        <SelectParameters>
            <asp:QueryStringParameter Name="number" QueryStringField="Number" 
                Type="Int64" />
        </SelectParameters>
    </asp:ObjectDataSource>
    </form>
</body>
</html>